#-*-coding: utf-8 -*-
#/usr/bin/python

import ssh5

host = raw_input("host: ")
port = raw_input("port: ")
username = raw_input("username: ")
password = raw_input("password: ")
cmd = raw_input("command: ")

#dict1 = {"host":"10.33.0.68", "username":"root", "port": 22, "password":"tvierocks","cmd":"pwd"}
#ssh5.ssh5(dict1["host"], dict1["port"],dict1["username"], dict1["password"], dict1["cmd"])

print "aaaaaaaaaaaaaaaaaaaaaa"

dict2 = {"host": host, "username": username, "port": port, "password": password, "cmd": cmd}
#for k,v in dict2.items():
#    print "dict2[%s]=" % k,v

#print dict2["host"], dict2["port"], dict2["username"], dict2["password"], dict2["cmd"]
ssh5.ssh5(dict2["host"], int(dict2["port"]), dict2["username"], dict2["password"], dict2["cmd"])


